package com.pm25.response;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

import com.google.gson.reflect.TypeToken;
import com.pm25.response.bean.O3;
import com.pm25.response.bean.So2;

public class O3Response extends AbstractResponse {
	private List<O3> o3;

	public O3Response(String responseBody) {
		super(responseBody);
	}

	@Override
	public void parseResult() {
		Type type = new TypeToken<ArrayList<O3>>() {
		}.getType();
		o3 = gson.fromJson(responseBody, type);
	}

	public List<O3> getO3() {
		return o3;
	}

	public void setO3(List<O3> o3) {
		this.o3 = o3;
	}

}
